.class Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;
.super Ljava/lang/Object;
.source "WebViewActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/WebViewActivity$4;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/teewoo/app/bus/ui/WebViewActivity$4;

.field private final synthetic val$uCol:Lcom/teewoo/app/bus/model/collection/URLCollection;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/WebViewActivity$4;Lcom/teewoo/app/bus/model/collection/URLCollection;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->this$1:Lcom/teewoo/app/bus/ui/WebViewActivity$4;

    iput-object p2, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->val$uCol:Lcom/teewoo/app/bus/model/collection/URLCollection;

    .line 139
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 144
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->this$1:Lcom/teewoo/app/bus/ui/WebViewActivity$4;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity$4;->access$0(Lcom/teewoo/app/bus/ui/WebViewActivity$4;)Lcom/teewoo/app/bus/ui/WebViewActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$10(Lcom/teewoo/app/bus/ui/WebViewActivity;)Lcom/teewoo/app/bus/manager/collection/URLCollectionManager;

    move-result-object v0

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->val$uCol:Lcom/teewoo/app/bus/model/collection/URLCollection;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/collection/URLCollection;->getId()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/teewoo/app/bus/manager/collection/URLCollectionManager;->delete(Ljava/lang/Integer;)V

    .line 146
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->this$1:Lcom/teewoo/app/bus/ui/WebViewActivity$4;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity$4;->access$0(Lcom/teewoo/app/bus/ui/WebViewActivity$4;)Lcom/teewoo/app/bus/ui/WebViewActivity;

    move-result-object v0

    const v1, 0x7f080034

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    .line 148
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$4$1;->this$1:Lcom/teewoo/app/bus/ui/WebViewActivity$4;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity$4;->access$0(Lcom/teewoo/app/bus/ui/WebViewActivity$4;)Lcom/teewoo/app/bus/ui/WebViewActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$8(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020012

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 149
    return-void
.end method
